import { PageContainer } from '@ant-design/pro-components';
import { Card } from 'antd';
import React from 'react';

const DynamicRoutesDemo: React.FC = () => {
  return (
    <PageContainer content="这是一个动态路由演示页面">
      <Card>
        <h2>动态路由测试页面</h2>
        <p>如果你能看到这个页面，说明动态路由配置成功！</p>
        <p>当前时间：{new Date().toLocaleString()}</p>
      </Card>
    </PageContainer>
  );
};

export default DynamicRoutesDemo;
